import * as yup from 'yup';

export const ADD_PLAN_SCHEMA = yup.object({
    tslOrder: yup.string(),
    planDate: yup.date().required('Plan date is required'),
    // driver: yup.object({
    //     id: yup.string().required('Driver is required')
    // }),
    // truck: yup.object().required('Truck is required'),
    // route: yup.object().required('Route is required'),
    // loadStartTime: yup.string(),
    // fuel: yup.number().positive('').required('Fuel is required'),
    // eta: yup.string()
});
